﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace PlistReader
{
    public partial class PlistReader : Form
    {
        public PlistReader()
        {
            InitializeComponent();
        }

        private void btnSelectFile_Click(object sender, EventArgs e)
        {
            var result = ofdSelectPlist.ShowDialog();
            if (result == System.Windows.Forms.DialogResult.OK)
            {
                txtFilePath.Text = ofdSelectPlist.FileName;
                txtResult.Text = ConvertPlist.ConvertPlist.plist2xml(txtFilePath.Text);
            }
        }
    }
}
